//
// Created by spiro on 19-3-4.
//

struct film {
    char title[10];
    int rating;
};

#include <stdio.h>
int main(void) {
    struct film f1 = {"spiro", 11};
    struct film f2 = f1;

    printf("f1.title: %s, f1.rating: %d\n", f1.title, f1.rating);
    printf("f2.title: %s, f2.rating: %d\n", f2.title, f2.rating);

    printf("&f1: %p\n&f2: %p\n", &f1, &f2);
    printf("&f1.title: %p\n&f2.title: %p\n", &f1.title, &f2.title);

}